﻿// =================================================================== 
// 项目说明
//====================================================================
// liucx @Copy Right 2019
// 文件： VehicleLicenseEntity.cs
// 项目名称：斑马车务
// 创建时间：2019/9/17
// 负责人：liucx
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
    /// <summary>
    ///数据实体  
    /// </summary>
    [PrimaryKey("VehicleLicenseID")]
    public class VehicleLicense
    {
        ///<summary>
        ///
        ///</summary>
        public VehicleLicense()
        {
        }


        ///<summary>
        ///行驶证ID
        ///</summary>
        [Column("VehicleLicenseID", "行驶证ID")]
        public int VehicleLicenseID { get; set; }

        ///<summary>
        ///用户ID
        ///</summary>
        [Column("UserID", "用户ID")]
        public int UserID { get; set; }

        ///<summary>
        ///号牌号码
        ///</summary>
        [Column("PlateNo", "号牌号码")]
        public string PlateNo { get; set; }

        ///<summary>
        ///车辆类型
        ///</summary>
        [Column("VehicleType", "车辆类型")]
        public string VehicleType { get; set; }

        ///<summary>
        ///所有人
        ///</summary>
        [Column("Owner", "所有人")]
        public string Owner { get; set; }

        ///<summary>
        ///住址
        ///</summary>
        [Column("Address", "住址")]
        public string Address { get; set; }

        ///<summary>
        ///使用性质
        ///</summary>
        [Column("UseCharacter", "使用性质")]
        public string UseCharacter { get; set; }

        ///<summary>
        ///车型
        ///</summary>
        [Column("Model", "车型")]
        public string Model { get; set; }

        ///<summary>
        ///车辆识别代码
        ///</summary>
        [Column("VIN", "车辆识别代码")]
        public string VIN { get; set; }

        ///<summary>
        ///发动机号
        ///</summary>
        [Column("EngineNo", "发动机号")]
        public string EngineNo { get; set; }

        ///<summary>
        ///注册日期
        ///</summary>
        [Column("RegisterDate", "注册日期")]
        public DateTime RegisterDate { get; set; }

        ///<summary>
        ///发证日期
        ///</summary>
        [Column("IssueDate", "发证日期")]
        public DateTime IssueDate { get; set; }

        ///<summary>
        ///照片地址
        ///</summary>
        [Column("PicPath", "照片地址")]
        public string PicPath { get; set; }

        ///<summary>
        ///创建时间
        ///</summary>
        [Column("CreatedDate", "创建时间")]
        public DateTime CreatedDate { get; set; }

        ///<summary>
        ///更新时间
        ///</summary>
        [Column("UpdatedDate", "更新时间")]
        public DateTime UpdatedDate { get; set; }

        ///<summary>
        ///城市(通过地址分析得出)
        ///</summary>
        [Column("City", "城市(通过地址分析得出)")]
        public string City { get; set; }

        ///<summary>
        ///逻辑标识
        ///</summary>
        [Column("IsActive", "逻辑标识")]
        public int IsActive { get; set; }

        ///<summary>
        ///生产厂家
        ///</summary>
        [Column("ProductCompany", "生产厂家")]
        public string ProductCompany { get; set; }

        ///<summary>
        ///品牌
        ///</summary>
        [Column("Brand", "品牌")]
        public string Brand { get; set; }

        ///<summary>
        ///保险ID
        ///</summary>
        [Column("InsureID", "保险ID")]
        public int InsureID { get; set; }


        ///<summary>
        ///车款ID
        ///</summary>
        [Column("BrandID", "车款ID")]
        public int BrandID { get; set; }

        ///<summary>
        ///车型ID
        ///</summary>
        [Column("ModelID", "车型ID")]
        public int ModelID { get; set; }

        ///<summary>
        ///年款
        ///</summary>
        [Column("CarID", "车款ID")]
        public int CarID { set; get; }

        /// <summary>
        /// 车款姓名
        /// </summary>
        [Column("CarName", "车款")]
        public string CarName { set; get; }


        ///<summary>
        ///车辆审核状态， 0未认证，1审核中，2已审核，3驳回
        ///</summary>
        [Column("VehicleStatus", "车辆审核状态， 0未认证，1审核中，2已审核，3驳回")]
        public int VehicleStatus { get; set; }
    }
}